project(qftp_split)

file(GLOB sources ./*)
add_library(${PROJECT_NAME}
        SHARED
        ${sources}
        )
target_link_libraries(${PROJECT_NAME}
        Qt5::Core Qt5::Network)

#add_library(qftp_shared
#        SHARED
#        $<TARGET_OBJECTS:qftp_obj>
#        )
#set_target_properties(qftp_shared
#        PROPERTIES
#        OUTPUT_NAME "QFtp"
#        )
#add_library(qftp_static
#        STATIC
#        $<TARGET_OBJECTS:qftp_obj>
#        )
#set_target_properties(qftp_static
#        PROPERTIES
#        OUTPUT_NAME "QFtp"
#        )

